﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Studio.InfoPlus.BusinessServices.Entities
{
    /// <summary>
    /// The fundamental element of FormView
    /// Base class (or superbase) of all renderable elements, includes FormView
    /// </summary>
    public class Renderable
    {
        IList<RenderAttribute> attributes = new List<RenderAttribute>();

        public IList<RenderAttribute> Attributes
        {
            get { return attributes; }
            set { attributes = value; }
        }

        public string Style { get; set; }

        public string Class { get; set; }


        public virtual string RenderType
        {
            get
            {
                return this.GetType().Name;
            }
        }
    }
}
